package xyz.zhno.factory.abstracts;

/**
 * Xiaomi 产品工厂
 * @author zh_o
 * @date 2020-11-14
 */
public class XiaomiProductFactory implements ProductFactory {

    /**
     * 创建 Phone
     * @return Phone
     */
    @Override
    public PhoneProduct createPhone() {
        return new XiaomiPhone();
    }

    /**
     * 创建 Router
     * @return Router
     */
    @Override
    public RouterProduct createRouter() {
        return new XiaomiRouter();
    }

}
